package com.couldsail.takeaway.pojo.entity;


import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("order_detail")
@Schema(description = "订单明细")
public class OrderDetail {
    @Schema(description = "id")
    private String id;
    @Schema(description = "订单id")
    private String orderId;

    @Schema(description = "名字")
    private String name;
    
    @Schema(description = "图片")
    private String image;
    
    @Schema(description = "菜品id")
    private String productId;
    
    @Schema(description = "口味")
    private String productSpecs;
    
    @Schema(description = "数量")
    private Integer number;
    
    @Schema(description = "金额")
    private Double amount;

    @Schema(description = "详情类型0-商品 1-其他")
    private String type;
} 